package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 人员考核业务对象 file_person_assess
 *
 * @author sal
 * @date 2024-11-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class FilePersonAssessBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 员工
     */
    @NotNull(message = "员工不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long personId;
    private String personName;

    /**
     * 考核年度
     */
    @NotBlank(message = "考核年度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String assessYear;

    /**
     * 考核结果
     */
    @NotBlank(message = "考核结果不能为空", groups = { AddGroup.class, EditGroup.class })
    private String assessResults;

    private String attachments;

    private String remark;

    private String firm;
}
